fixed makefile: -c compile not link

This way, the object lib is included in the jni