object files must be placed before -l option
Merge pull request #7 from gmd20/patch-1

fix link error on ubuntu.