removed mac stuff that fails the build anywher other than a mac.