libdir for mingw too