More function checks for cmake