Gates says poor countries not doomed to stay poor