Improve script to build
Merge pull request #12 from ttthanh/improve-script

http://www.hostedredmine.com/issues/228979 fix travis