Compare gcc version with VERSION_EQUAL

* This fixes wrong positive for gcc versions 4.7.x with x > 0