Makefile for platform creation.

- includes patch for fixing theme dependencies.