extract: Fixed crash in QCoreApplication::applicationFilePath

QCoreApplication keeps pointers to argv and argc
so they better be static.

https://bugzilla.gnome.org/show_bug.cgi?id=731854