Replace dash by underscore when comparing versions