Fix repeated builds of targets. (#903)
Accidentally added a dependency on the generated boost header tree for all targets. The boost headers generation only works if it's an implicit-dependency. As otherwise dependents think they are never up to date.