add missing compile libraries
do not link
build as dynamic library
make it compilable to shared library
git ignore .o and .d
fix library naming