[Config] Replaced CMAKE_SOURCE/BINARY_DIR with PROJECT_SOURCE/BINARY_DIR

Allows Thor to be used as a subproject of another CMake project (for example as a git submodule).