Support configure for riscv-ros and i686-ros

(In addition to x86[64] linux)