Better FreeBSD detection check