makefile: correctly handle missing deps

make dep functioned correctly only for updating dependencies one already
has. Now it also install missing dependencies. All credit goes to
@colindean.

Fixes #8.