Add support complex version number.

Add support to use static text and environment variable in version
field.
Merge pull request #3 from ayokyun/master

Add support complex version number.