TESTS: added FreeBSD support for dylib tests.