Fix build for G++4.7 on Linux.