Protect version comparison against 2.3.0dev