fixed countlines in build.sh