Updates project to be buildable with android-ndk-r8d.

Converts into lib-project.
Merge pull request #1 from jonathanle/master

Updates the project to be built with android-ndk-r8d