update makefile for cross compile