[autotools,bugfix] Generate configuration files for finding installed module with CMake.