support newer version interface of vimproc