make the remaining examples compile