Update Makefile for CXX extension