Fix up makefile and case-sensitivity

Merge me, plz