removed manual makefile and added c++11 compiler flag to cmake