Add -ldl to extra LDFLAGS for FFmpeg compilation
Update x264 sources URL
Improve error logging
cat.sh: better readability of diff, more intuitive order of files
cat_lastday.sh: in a loop for OFMT, use continue instead of exit