Add nme-state version.  Tweak build script