Add GCC 4.7.x workaround for asio

Summary: asio needs _GLIBCXX_USE_NANOSLEEP to compile on 4.7.x as well.