Change the way Windows is detected in the build scripts.
Auto detect if ionice can be used.
Update the Linux build scripts to also work on Mac.

Now they work on all three supported platforms.  B-)
Update Mac build variables to work with Xcode 3.2.6 at least, perhaps later versions to.