fixed cmake settings to use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR