Do not ignore UNDEF symbols

Fixes #1542
Fix #1641 -  Check $CC ASAN support