Now compiles on windows