added flag to enable cxx