fixes #3874 - extend paths for FreeBSD support