Fixing osx frameworks