let autoconf generate libctx.pc
Build x86_64 when $target_cpu is amd64.
Fix a signed/unsigned comparison.