Not even the HAVE_LIBGME macro was defined apparently, huh.
Also support dynamic/static opengl switching