CMake: file(RENAME) since 2.8

file(RENAME) was introduced with 2.8.0.

Thx to Marcin Wojdyr.