diff --git a/ext/extconf.rb b/ext/extconf.rb
index <HASH>..<HASH> 100644
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -48,7 +48,8 @@ def check_libmemcached
 
   Dir.chdir(HERE) do
     Dir.chdir(BUNDLE_PATH) do
-      run("find . | xargs touch", "Touching all files so autoconf doesn't run.")
+      ts_now=Time.now.strftime("%Y%m%d%H%M.%S")
+      run("find . | xargs touch -t #{ts_now}", "Touching all files so autoconf doesn't run.")
       run("env CFLAGS='-fPIC #{LIBM_CFLAGS}' LDFLAGS='-fPIC #{LIBM_LDFLAGS}' ./configure --prefix=#{HERE} --without-memcached --disable-shared --disable-utils --disable-dependency-tracking #{$CC} #{$EXTRA_CONF} 2>&1", "Configuring libmemcached.")
     end
Determine timestamp to use one time, and then update all files with that timestamp
in order to avoid a possible race condition which could cause autoconf
to run