Fixed SiM build script