Added options for build cmor turn on/off graphics and //