only install osx files on osx.