Fix up Makefile
Fix a critical bug in class.lua