Add function to test if on OS X host.