Clean up write_mpkg system as waf command