Fixes for new purescript-foreign