The example requires pthreads and now C11 <stdatomic.h>, thus skip it if either isn't available. This also fixes the current Travis CI build failure for the Windows configuration.