Makefile: update to work with GCC 4.7 toolchain