add CXXFLAGS as well as CFLAGS. yet more fallout from the *.mk change to not include CFLAGS automatically. ok sthen@