Fixed configuration dependent LDFLAGS and LDXXFLAGS.