demo/rook: fix generated header dependency.

Cobble requires the compilation step to explicitly depend on any
file generation step responsible for its headers.  As a result the
build was working *sometimes* (when model.cc built before rook.cc)
but not reliably.