Novak Djokovic came from a set down to beat Giovanni Mpetshi Perricard 5-7, 7-5, 6-1, 6-4 at the French Open.