Fixes for Native Client build.

Allow RANLIB to be overwridden like the other compiler tools.

Don't assume 64-bit pointer size on x86_64 architecutre.