update build script after changes for issue #78