upgrade our toolchain to gcc-4.7
(from redmine: issue id 1351, created on 2012-09-05, closed on 2012-09-27)