Lots of build system updates.