Better handling if the dir lib not found