update makefile to use std=c++11