added conditional win32 platform flag to allow compilation