Add build workaround also for LDC.