update Makefile to suite for g++ 4.6