Fix build for vault >= 0.3.0
Merge pull request #1 from alephcloud/master

Fix build for vault >= 0.3.0