Fix an error causing scanner.h to not be generated