Build fix for non-Android Linux
Make the Makefile build a shared library
Merge pull request #3 from artart78/master

Make the library work on Linux