Make Maven deploy script work with POSIX shell.