Set $recover function linkage to internal

Fixes #177