Add define option.
Merge pull request #30 from sapegin/define

Add define option