configure: Use egrep_cpp_yes instead of yes

yes is too generic and might be used in an included header.