embed mono in erlang