Added missing defines when OS is windows