Move code to identify runtime paths to libaudcore.