Changed #ifdef HAVE_... to #if HAVE_...