Bugfix for 1f341404. You can't use HAVE_ macros unless including
autoconfig.h...