Add (Free)BSD/amd64 support to Makefile.shared