init version

Port to android, build succeed with android-ndk-r8e on mac osx 10.9.