Make tilde expansion work on Windows