prevent script.build is spm build