added OSX framework