Ticket 47700 - Fix compiler warnings
The original fix for ticket 47700 caused new compiler warnings
Addresses these new warnings:
warning: deprecated conversion from string constant to 'char*'
https://fedorahosted.org/389/ticket/47700
Reveiwed by: nhosoi(Thanks!)
(cherry picked from commit 9698a97075e04219e103b2693ac5002d33b19486)