- compilation fixes for the tutorials in chapter 4