Update build environment, add PIE, fixes issue #572, #580

Note minSDK is now 16.  Need JellyBean or higher to run.
See this for explanation and options: https://code.google.com/p/android-developer-preview/issues/detail?id=888
Why this change? Are PIE not working on x86 and mips?