x86_64: fix --with-libgcc and simplify biarch paths