#1070 #1085 multi-module-build with shared libraries working on windows (MSYS)