more osx fixes for python tool