fix compilation with gcc 4.8

Authored by dfaure on Dec 14 2016, 10:36 PM.