Fixed incorrect usage of CMAKE_MODULE_PATH.

CMAKE_MODULE_PATH is a list of paths and in this 'configure_file'
line, only the last of the list is required. The modification ensures
that the 'cmake/config.hpp.cmake' file is used directly.

Without this patch, a cmake-time error occurs when CMAKE_MODULE_PATH
is nonempty before adding this 'CMakeLists.txt' file.