converting []string into **C.char correctly