Fix build for GCC 4.7 on Linux.