added "have_framework" line for OSX.
Merge pull request #2 from oscdis/osxfix

added "have_framework" line for OSX.