* Fix build on Mac OS X Fixes #952 * Fix FreeBSD build Include unistd.h in every file calling usleep()