Fixed CMakeLists for Linux after Apple policy