Fixed some Cmake bugs that didnt show on up in linux
Also Commented out the pragma warnings