Rename HAS_* macros to HAVE_*

The HAVE_FOO form seems to be the standard