Handle prebuild commands with the driver for dependencies.