Fix ITK build with GCC 4.9.

As reported here:

  http://www.gccxml.org/Bug/view.php?id=14912