Various fixes to the build system, add 'make test-boot-image' target.