Update c++ and obj options