Fix compilation warning and add Makefile