added Mac OS X support and mock_nodetool