Fixing the compilation issue on centos causeed by review request 2843.

Change-Id: I0ab2d0f8fd881449fa2ddfb6bc6effaed6d7d1f5