Put LDFLAGS at end of compile command