Use correct path for out-of-source builds

The file src/config is generated at a location relative to the build
directory, so we use ${CMAKE_CURRENT_BINARY_DIR} instead of
${CMAKE_SOURCE_DIR} to refer to its location.