Automatically include HAVE and VERSION flags