fix compilation with gcc 4.9

* Credits and big thanks to LaboDJ <jacopolabardi@gmail.com>

Signed-off-by: Dan Trifan <jimsth@gmail.com>