Fixed issue in CMakeLists.txt where template module name was being used instead of the actual name.