Fix upstart on recent Ubuntu-based systems.