Fixed linker and version flag translation for LDC