second-stage/programs/wlle: Put libraries at the end
Hopefully, this will fix cvlm-lbfgs compilation problems on Ubuntu.
Also reorganized some of the flags in the file.