Differentiability of Ruin Functions under Markov