added casts to permutations to make windows happy
build a single big python module (Windows)