msys: look in msys' directory for files

This tells find_path and find_library to look under this directory first
which is what we want on msys2.
msys: factor out -Werror on msys

There are Windows-related warnings turned into errors here.
msys: don't use LTO

This causes duplicate symbol errors on msys' mingw install.