CMake: Correct macOS framework linking (#6522)
CMake: Correct macOS framework linking (#6522)

target_link_libraries correctly consider "-framework <library>"
as a library, instead of a flag; lets use that instead of
target_link_options.
hackgnar/osquery,hackgnar/osquery,hackgnar/osquery