Fix tree reconstruction for GCC 4.6.