How to get an Erlang package to link to erl_driver