fix builds on macOS when kernel modules are used
am: f4ccb4f735

Change-Id: I36e404be2b8d5148947cbcd2afec249da0e24a92