Use add_dependencies to straighten out parallel build issue.
Authored by: airwin 2008-08-18
Parent: [r186]
Child: [r188]