Make enqueue_time work without Rails