GCC 4.7+ fixes

Make possible to build with SaberMod.

Signed-off-by: kecinzer <kecinzer@gmail.com>