Fixed make file to work with c++11