Fix for linker ordering bug
Merge pull request #12 from larsbergstrom/link_ordering

Fix for linker ordering bug