Check runtime dependencies before installing.

Currently dmenu is the only dependency (will get checked more cleanly
when heading for the first release).