add some includes which were missing for cygwin
tried a second variant of parallelization for atkin