create-stub.sh adapted to current version of kgraft using kgraft_patcher.c as template