Fix cmake error when the Module path has more than one entry

CMAKE_MODULE_PATH is usually a list instead of single entry. Especially for projects contain sub cmake projects. My patch replaces the CMAKE_MODULE_PATH with fixed path, to locate the `.in` file.