Fixed Makefile to support C++11