Move the checkDependencies so it is run on every build