Convert D strings to C strings when calling extern(C) functions