Don't overwrite CXXFLAGS or LDFLAGS when building libraries in deps