Allow newer versions of thor