Modify makefile for native
Fix native build