Move capture of __FreeBSD_version to OS plugin