bug fix:
osimg broke chainloader, move osimg to a new module "osimg" other than "chain".
However "chainloader +1" == "osimg +1 0x7c00"
run ./autogen.sh after Makefile.core.def is modified.