fix bug of finding yui lib dependency