composer: put first the LD_PATH and then ld.conf paths

When creating the wrapper scripts you should put first the paths from
LD_PATH and then the one from ld.conf