respect CXXFLAGS and LDFLAGS from env