updated build script slightly.