Added options to CMakeLists to reduce some warning messages durin compilation