Fix Makefile

- Compile with CXX, as this is c++ code
- Don't override user-set CXX
- Place DATADIR define to CXXFLAGS where it belongs