Either use `inreplace` or (preferably) try and make this such that upstream would accept it by e.g. making it use CMAKE_INSTALL_PREFIX properly.