Fixed preprocessor bug for time on windows