macvim: use std env on Snow Leopard

Closes #21639.