Fixes for Visual C++

snprintf and strncasecmp are not that.
_access needs to be fixed on gcc, next.