remove no-warn-search-mismatch flag

- The flag isn't needed here. It's also not supported on FreeBSD and OSX.
append default include/link paths to DMD

- So that using a different DMD will use the correct
  include/link paths defined by the corresponding dmd.conf.
fix grepping for the linker invocation

- grep for the object file, -Xlinker isn't always present
simplify appending -lcurl
Merge pull request #121 from MartinNowak/fixBuild

fix tools build