Fix CPU affinity on FreeBSD (closes #61)