update build scripts for 0.5.0
Merge pull request #545 from kmaehashi/build-0.5.0

update build scripts for 0.5.0 release