build: switched to google 4.7 gcc and changed the flags acordingly

Signed-off-by: Dan Trifan <jimsth@gmail.com>