Only use undodir if vim supports it