FIX undefined reference to sleep function