adding defines to build on windows