Add SMP support for FreeBSD.