Fix LDC build