Set HAVE_BOOST to false on failure and move on