fix gdc/ldc build options