python tool: fixed issue with default setup on osx