Two issues: * we should get msys2 when building on windows, not targeting windows. * removed usage of LIBRARY_PATH since it is ignored when cross-compiling [1]. Tested building for android on windows and works fine. [1]: https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html#index-LIBRARY_005fPATH