Making server.cc cross-platform with alias for snprintf