Use logic for providing a platform default thread enforcer.

Closes #68.
Merge pull request #70 from square/jw/platform-defaults

Use logic for providing a platform default thread enforcer.