cmake: exec_program is deprecated