Add patches required by Bionic and MacOS.

Change-Id: I75c6cf9ffd783c5675e9808fc8c070a2ea865868
16 files changed