Place have_framework before have_library. This hopefully fixes #12.