modified makefile for cross compilation