Updates to build generator.

Build generator updated to include dependency support.