Sure, I'll make a bug report, should it go here?
https://github.com/alexpux/mingw-packages
BTW thing that I was able to compile with old MSYS + cmake from cmake.org, but can't with MSYS2 and mingw-w64-i686-cmake is https://github.com/Absolight/pkcs11-proxy