Fixed mobile source issues.

Compile using Python 2.7