Adding support for environment variable QWT_DIR