Fixed Unknown CMake command "CHECK_LIBRARY_EXISTS" error on Unix targets

Previously it worked somehow but not with CMake 3.0.2
Merge branch 'fix_cmake_unix' into z_osx_clean
Extended list of display resolutions