Fix gcc4 build.