add ndk build script

Tested on Mac OSX 10.9 with android-ndk-r8e.