proper windows preprocessor detection