minor improvement of build script