Modified Makefile to support g++4.6