Trigger recompilation of depending targets when needed.

Fixes issue #22.