Fix Check (lib) dependency