idletimer.cpp changed so as not to crash when compiled with mingw64, glib dependency replaced with gcc dependency

idletimer.cpp changed so as not to crash when compiled with mingw64, glib dependency replaced with gcc dependency

Only tested on Windows thus far.