fixed bug when linking librocket in mingw