Build kernel with build.sh in user mode and fixed some errors