Added support for Bitrig
Handle version number comparisons in a saner manner