Added dynamic detection of base binaries since Gentoo/Funtoo might store base files in diff locations