misc: update build script and device guard