Revert "threads dependency required to link with core"

This reverts commit 8a1f814e7351745ec78ab2ec0b92a49790115a91.

See #21