script: fix kernel modules build bug.