build pass on linux with old gcc