Fix function call type mismatch
Cleanup makefile