Fix builds on GCC 4.8+