Added defines to hide C-string functions
Fixed VisualStudio warnings