[CMake,release] Remove double slash (//) in path for headercheck.