Fix deprecation warnings with the latest vcloud core