Set correct dependencies on cookbooks.