fixed error in distribution build script