make bamtools compile on FreeBSD