fix tools build

- remove no-warn-search-mismatch

- make include/link paths overridable