Added missing ifdef HAVE_LIBVTE, fixes #394