Fixed CMake build