fix build with clang

Change-Id: I3fd7cfdf78dc221cbaa651ff351bc4ca76952d55