Fix gcc3 compilation