Making -portable flag work with LDC (a hack).