Fix GCC 4.8.0 build

Fails due to warnings about unused local typedefs in gmacros.h:162
Merge pull request #202 from LebedevRI/gcc4.8-build-fix

Fix GCC 4.8.0 build (v.2)
Ensure that GCC version check is only done when the C compiler is actually GNU.