[env] add environment settings on Mac.