Fix path length on FreeBSD