Attempt to make this compile on windows