Linux Build

Some changes to support building on Linux. Using the same rootdir layout specified in the README. Imported build_analyzer.py from SDK 1.1.9 and tweaked it. Tested on Ubuntu 13