fix glshow compile error in linux