refactor multiboot
fix to compile without warnings on -Wall