Fix core_sleep for targets that have not implemented it yet