mingw: make simavr compilable with MinGW