[server] Define __STDC_LIMIT_MACROS to avoid the build error on Ubuntu 12.04 (g++4.6).