[FIX] work around obscure platform bug on FreeBSD
[INTERNAL] cosmetic corrections and SFINAE guard to make test build with Clang