Add makefile and fix the build

Please use v2.6.