include string.h explicitly, just in case