fix non-win32 builds