Fixed winebuild to work on non-Intel architectures.

7 files changed