Fix linking.
Merge pull request #4 from metajack/fix-linking

Fix linking.