GCC 4.8 fixes

Signed-off-by: Bryan Smith <zarboz@gmail.com>