update makefile to use CXX for build