Rework build code

Most notably we are not using a chroot anymore. The plan is to
readd support for that but it's pretty complicated to make it
solid and not a very high priority at the moment.