Add missing global OUTPUT in lib