Changed several *mut c_char to *const c_char