Add missing 'std' namespace to fix gcc errors