Fix for win32 builds