made the Chef version checks safe for pre-release versions of Chef