makefile: gcc 4.7 compatibility