updated some .cmake-files for compatibility reasons