Fix build on gcc 4.7 toolchain

Credit
AOKP UnicornButter :)