Fix for error: 'usleep' was not declared in this scope