Fix library ordering
Merge pull request #38 from Ralith/extern-libs

Fix library ordering