solves issues when compiling on windows