Ok, it builds fine with this patch ;). I don't have a disk attached to a compatible system, so I can't verify whether booting works.