Fix installation for MacOSX