build.sh: support guess possible package when building