Seems that I still need a few days before I have time to try mingw. 

What if you remove the line here? In other envrionments, the dependencies are automatically handled by pkg-config, and you don't have to add them.