i386 compilation bug and adjusting building dependancy.