Remove HAVE_ENTERPRISE references and replace them by extensions.