fix gcc491 compilation