add support for gcc 4.8

Change-Id: I277a0ff508550f76b4d70145065a74cb9803b0db