Add define.cmd property. close #786
Rebuild packages
Merge branch 'master' into gh-pages