Fix OSX linkage for anal_gb