Add --cfg libc to rust compiling
Update rust-core version