configure: define HAVE_WACOM in config.h if wacom libraries are available