Review Request 1665: Adapt to recent profile registration CMake macro changes