Resolved issue compiling on windows