build.sh: compat with gcc 4.4
add gcc flags to MinGW64 build script
debug: add -f option to test with reduced diff
Add S3 algo