Mac also needs special cases for architecture detection.