Set console to a dummy object if it doesn't exist.