Fix order of LDFLAGS