LDFLAGS, not CXXFLAGS