Check for GCC 4.7 or above

To prevent compilation errors beforehand.