Changed #if to #ifdef for HAVE_ASSIMP.