Removed unnecessary Windows-isms from cmake files