Use string.h instead of cstring for compatibility.