Dialyzer friendly errors

Changed not_loaded error to dialyzer friendly format.
http://www.erlang.org/doc/man/erlang.html#nif_error-1