Fix compile with GCC 4.7

Change-Id: I019ff8feb45c8561f19e20da2bd7048a469266f3