Allow gen-staticinit to exclude specified modules