Fixed a compilation issue in TeamMap.