Clean up how dependencies are build.