Pull effective arch detection into a method
ld64: convert makefile to resource

Fixes mistydemeo/tigerbrew#210.
percona-toolkit 2.2.10
percona-toolkit: update 2.2.10 bottle.