Bug in compile.sh when book-result does not exist