ENH: only configuraing spm / matlab when software=spm