fix(build): support tilde expansion on windows (#563)