Compile with `-isysroot $(xcrun --sdk-path) when building on MacOS
Summary:
Otherwise /usr/local/include is searched for headers before /usr/include
but /usr/lib is searched for libraries before /usr/local/lib.
This can cause highly confusing errors when building and should prevent
building against homebrew-provided headers instead of the system ones.
See also https://langui.sh/2015/07/24/osx-clang-include-lib-search-paths/
Test Plan: sucessfully built kate+deps on MacOS (failed before)
Reviewers: vonreth, kfunk, Craft
Reviewed By: vonreth, Craft
Differential Revision: https://phabricator.kde.org/D15120