Fixes for Vim to work on Mac.