preparing for potential win32 version