Set $recover functions' linkage to internal

Fixes #177
Merge pull request #187 from axw/recover-internal-linkage

Set $recover function linkage to internal