fix wrong initialisation
update buildscript to use mingw on windows and convert typed memorviews back to lists in choltwinters