fix bug and change build script
Merge pull request #7 from c4pt0r/master

fix bug and change build script