update build system and module.mk