Fix build for GCC 4.9