Remove all 3rd party dependencies and shim JARs.