glm: fix gcc 7.3 support
This will also fix several packages' build
mingchuan 8 years ago f76f4ec7 a60774c0