fix/workaround for issue #4 (auto detection on FreeBSD)