Update build scripts, patches and stuff.