Check for dependencies during a build