fix magic patching
Merge branch 'master' of github.com:AnyDSL/thorin