Fixed gcc cmake warning

Change-Id: Ib73d152742d97ca7995d5c3d759a8806ded905e2