Fix dependencies (or at least try to).