update to ensure makefile uses envs CXXFLAGS/LDFLAGS