Workaround for bug in libglib >= 2.36.1

popen() is used instead of g_spawn_command_line_sync()
Bug-Debian: http://bugs.debian.org/707946