Allow building i386 images on amd64 host.
Derive JFLAG from CPU numbers reported by system (by default use CPU count + 1).