code: private String getRuntimeLibrary(final CommandLineCompilerConfiguration compilerConfig, final boolean isDebug) {
      String rtl = null;
      final String[] args = compilerConfig.getPreArguments();
      for (final String arg : args) {
        if (arg.startsWith("/MT")) {
          if (isDebug) {
            rtl = "1";
          } else {
            rtl = "0";
          }
        } else if (arg.startsWith("/MD")) {
          if (isDebug) {
            rtl = "3";
          } else {
            rtl = "2";
          }
        }
      }
      return rtl;
    }
docs: Get value of RuntimeLibrary property.
  
  @param compilerConfig
  compiler configuration.
  @param isDebug
  true if generating debug configuration.
  @return value of RuntimeLibrary property.