Add warning for GCC under version 4.7.

- lower versions are not supported