Only configure for OS X when actually running on OS X.