Fix for running on win32