Changed ecos_bb preproc to work on windows and python