fix mac vim check