ifdef fix for win32