link sm matrix archive to boost