Rename chapter to chapters/ and fix build