windows ifdefs
fix windows and osx ifdefs