Adjust the comparing strategy and use a tilde instead of a dash on rc version.