macx: sanitizer works only then non-static linking