Use g_ascii_strcasecmp instead of g_strcasecmp

  * g_strcasecmp has been deprecated since glib 2.2
Use g_thread_new instead of g_thread_create

  * g_thread_create has been deprecated since glib 2.32
Merge 'support/el6' and close #21