updated build script (issue #8)