Fix warnings for latest DMD beta.