Bugfix: Cleanup needs to happen before printing the final quit message, or it gets lost in TUI mode
Merge commit '5f432d1' into bfgminer
Bugfix: Set ELF rpath for bundled libblkmaker to use $ORIGIN so it can be run from other directories
Merge commit 'cb58178' into bfgminer
Bugfix: Since at least one of unix (or __APPLE__) or WIN32 is required by util.h, make sure unix is defined if WIN32 is not

Neither were being defined by default for GCC -std=c1x