Check that we are on OS X before setting x-focus-frame.