Set the appropriate flags supporting versions of software modules. Fix arguments for getting desktop DC.