Prevent a few warnings when using g++ 4.9.