Fix build error caused by newer vault versions