Check for snprintf, and use _snprintf when needed