The conditionals match the values we receive for host/build. After a second look, I agree. We should be using build_os rather than build_vendor, in which case we'll match against *darwin* like the host test.

I'll push up a fix.