Remove unneeded build-time dependencies.