strict version compare for CXX patch (5.2 < x < 5.4)