detect macvim properly