fixed libs check