Adds frameworks for OSX building.