Strip the trailing whitespace from the CMake modules