Fixed compilation with old stdlibs