Convert __FILENAME__ to _FILENAME so it follows standard conventions
Reorder #include's
safe_strdup() and variable progname in util.c
Add assert equal macros to dbg.h
Refactor file_exists() to fexists()
Fix build.sh script