Resolve dependencies before setup

Signed-off-by: Ian Macalinao <me@ian.pw>