Only define BOOST_ASIO_HAS_STD_CHRONO if needed.
Fix up POSIX compilation.