Move the checkDependencies so it is run on every build
Merge pull request #5999 from LaurentGoderre/build-checkdeps

Move the checkDependencies so it is run on every build