Modify makefile to support C++11.