corrected Makefile, CXXOPTS and directories