China 's prime minister says his country is moving toward a more flexible foreign exchange rate , but that it will be done gradually .