Add missing externs and dependencies for map compression.