Fixed problem for OSX Frameworks.