Add LDFLAGS when building libsparse.a