included unistd.h to allow building with 4.8 compiler

when compiling in ubuntu 14.04 (g++ 4.8) the build fails with a "usleep undeclared" error. so i included the unistd.h header to be able to compile successfully. it did and still does compile successfully with 4.6.