Fix MirBSD build of sparse.
Remove last change. This is not the correct way to fix this.
Remove "-thread" related part of the last change. This is not the
correct fix.