Change link order to fix linker issues
Merge pull request #2 from rettenbs/master

Change link order to fix linker issues