fix spm build in documentation