Fix bsd/string.h detection