add unistd.h include to files using usleep

On my system the build fails when trying to use usleep without
include <unistd.h>

This patch adds the include.