cmake check exec functions exist