Fix compilation for Linaro GCC 4.7

Change-Id: I03763b22da60c842252277405deed18812eaebd3
Signed-off-by: zwliew <zhaoweiliew@gmail.com>