Fixed CMake build options.