libasn may have many paths, pick the last

libasn may have many paths, pick the last

also exclude 32 bit lib

diff --git a/Rakefile b/Rakefile
index 67da443..e3b92ee 100644
--- a/Rakefile
+++ b/Rakefile
@@ -21,7 +21,8 @@ namespace :test do
     ENV["CONFIGURE_ARGS"] = [ENV["CONFIGURE_ARGS"], '--enable-asan'].compact.join(' ')
     Rake::Task['compile'].invoke
 
-    asan_path = `ldconfig -N -p | grep libasan | sed 's/.* => \\(.*\\)$/\\1/'`.chomp
+    asan_path = `ldconfig -N -p |grep libasan | grep -v 32 | sed 's/.* => \\(.*\\)$/\\1/'`.chomp.split("\n")[-1]
+
 
     cmdline = "env LD_PRELOAD=\"#{asan_path}\" ruby test/test_leak.rb"
     puts cmdline

GitHub sha: 38cd3470