Moved to ubuntu. Completed makefile for cross compiling.