Add hook for creating ghci external interpreter