Fixed some wine issues in bxbuild that were apparently fixed months ago and never committed.