echo is not portable, hope is that printf is more so
adjust dependency scan to still skip libs
big commit, but should be working ok now