adapted installer for mac os x