CMake: fix wrong macro name and rename function.cmake to utils.cmake