Fixed the build on dmd head by working around a bug.