Switch core from strerror to g_strerror