fix build with dalvik and gcc 4.8

Change-Id: I8870100004d7b0056b98d2d3aeec5dedb5965a6a