The Chavez government has been taking measures to strengthen state control of the energy sector in the world 's fifth-largest oil exporter .