Add define.cmd property. close #786
Rebuild packages