Fix building script.
Merge pull request #19 from ivanzhaowy/master

Fix building script.