Fix FreeBSD version detection for 10.x