add a cm binary for i386 linux and modify script to detect arch and run the right bin