fix install error in mac ox.

fix install error in mac ox.