The amsmath LaTeX package is required when using math environments such as cases. Can it be loaded in the Makefile?