Fixed build fail on MacOSX after f634ec5 .

Change-Id: I26b9063aca5518f21f76ff22690eb55d51f9c5aa