Added check for erlang binary and version