Fixed linker order in makefile.
Fixes #8.
Merge branch 'hotfix'