Corrected arrow in makefile due to display problems on some linux platforms
Changed output file fopen mode to wb
Corrected the stdin/stdout problem on windows by reopening the streams in binary mode if they are used
Merge remote-tracking branch 'origin/master'