Another possible way is obviously not shipping with all the dependencies statically compiled and take the ones from the system; though this won't work for our process, it can work for distro maintainers.
We are still in the process of introducing a way to compile with system libraries; right now though,
@Anatol Pomazau, one of the Arch Linux maintainers have a custom branch we helped a bit kickstarting, to get it compiled with system libs:
https://github.com/anatol/osquery/commits/archlinux-rebase-4.2.0