[Template-haskell] Calling foreign functions in a splice doesn't work