Fix generate-alldts.sh
Don't generate empty .d.ts files
Fix #26 limit root modules