Work around pure inference issue in DMD 2.065.