Adds explicit links to frameworks we need on OS X. This was SVN commit r11596.
This was SVN commit r11075.