Make compatible with gcc >=4.7

Siged-off-by: Paul Beeler <sparksco@gmail.com>