(Windows Mingw) Make some dependencies optional by default