Fix to login shell only on mac