Wip/cxx fixes

- fix c++ printf
- add makefile targets for g++ and clang++