update make file for cross compiliing