Fixed bug causing failure in setting VWF_DIR.