update erlang setup
added some ubuntu hacks