Only install erlang if required