Ensure items to be installed are built and up-to-date

Fixes #125.