fix build err for CM10.1 source 

Rewrite the Android.mk && 
fix some build bug of  the source code