Replace CMAKE_SOURCE_DIR by PROJECT_SOURCE_DIR or CMAKE_CURRENT_SOURCE_DIR. Closes #41

Thanks to G. Claudio for notifying.