Fix compiler warnings with GCC 3.9.