LDFLAGS, not CXXFLAGS

I had the dumb for a moment there.