Fix dependencies for #873