do not generate "done file" under non existing directory and generate it under build the directory at the top level of the catkin workspace

generate "done file" under `${CMAKE_CURRENT_BINARY_DIR}` rather than `${PROJECT_SOURCE_DIR}/build`
Because that build directory is not avaialble on catkin