replace formatted printing of macros with string joining, add error stream redirects to popen calls in detect_pkgs on linux, bump release to pre8