Reversed the order of ldflags and objects for repl

- This solves an issue with travis using Ubuntu 12.04 LTS and it seems it is
  strict on argument ordering (I do not have this issue). They should install
  Gentoo.