fix gcc 2.95 compilation