package_repo: fix printf() format strings
Make package_repo buildable for the build host
Add configure option --host-only

When specified, the build will be configured for building build host
tools only.