Fix Library class name check.