Fix require of thor in version