Better dependency checks that really works