revise GkcSys

Fix the problem caused by __attribute__((constructor))