more portability fixes.
add libasan to the build
Add build glue
set the proper asan variable
add asan to the libraries we build.
forgot one.