Fixed installation bug on Mac OSX.