fix makefile +osd misc