fix build error for CM10.1 source
change build as shared linked to static linked
Merge pull request #14 from sndnvaps/master

fix build err for CM10.1 source