Change linker order for sample libraries

We want libhelium statically linked, and the rest of the libraries
dynamically linked. With the previous order, this fails to link on
Ubuntu 14.04. It works Ok on other distros, so not sure what
specifically about Ubuntu was causing the issue.