handle missing targets, missing dependencies cleanly