Allow add_depends to take an arrayref