Better Dependency Checking

Use the built in has_version() to determine if the dependencies are met.