Update dependencies. Cleanup various things for build process.