Build fix for non-Android Linux
Make the Makefile build a shared library