Point to GCC 4.7

- Include config.h before system header files

Change-Id: I1bf132d64dc37ea8b6736b2b90b5c30fd6fb8b56