Use version 0.18.x of thor

Fixes #85