Tweak build scripts and dependencies.