Bug fix for local-stack.sh scrip on OS X. "ps h" does not work on mac.