Constructing harmonic maps to two-dimensional buildings