explain our unusual portability system
fixups for mingw32 cross compilation