allows compilation on windows