change makefile for gcc4.6 under my ubuntu vm