Fix build with GCC4.7

Change-Id: I3affa0f5dd1c6f7b7c91483d2b99bfe310f09fdd