Fixed usleep build issue with gcc 4.7

- To use usleep, unistd.h is now required. Added dependency so that
  build process completes.