Trying to make this compile on windows.........