fix a build issue by adding cstring header