COMP: Modify Preprocessor definitions for windows compilation and linking