fix typing errors
add -jPIC to CFLAGS
add *.la and .libs