misc: modify build scripts