Refactor vagrant usage in build file