Only do LDFLAGS and LIBS in configure