Use makefile for building

Just for Mac