Solaris and non posix shell compatibility

Removing local scope in erl runner script. Solaris and derivatives don't understand the "local" keyword in the "sh" shell. In this case, removing the local scope doesn't make any difference to the execution of the script. 

With this minor change, the release works fine on solaris machines.

Thanks and great work on this project!