Fixed library suffix detection.