Fix using in REPL

For both Mono/Roslyn

Fixes: #710