Load dependencies before deps.check compiles

Signed-off-by: Eric Meadows-Jönsson <eric.meadows.jonsson@gmail.com>