Try to fix FreeBSD and Linux builds