version update for better *nix compatibility

Added compatibility on systems where /bin/sh != /bin/bash but bash is
present.