Added the HAVE_GLM define.