Update building script.
Merge pull request #9 from zpbx/build

Update building script.