fix makefile and postinst error.