Fix build on FreeBSD 9.x amd64

Add support to BSD ar.
On FreeBSD, $MACH_ARCH returns 'amd64', so force to 'x86_64'.

Tested on FreeBSD 9.1-RELEASE and 9.2-PRERELEASE amd64.