Fixing a certain bug in glm. From here: https://github.com/g-truc/glm/pull/145/files#diff-519b63843f91e468a5ca42324bcf6503R54