add makefile for native compilation