[SOFTWARE] Move LDFLAGS to the end of the linker command.