added some windows specific defines to the cmake file