Make shell scripts more strict sh compliant