Some fixes

The Makefile didn't compile a usable library for me, because the libraries weren't linked (ldd confirmed). The -l* has to come after the source file.

Also, #include "" looks for header files in the local directory, which is wrong for files belonging to other packages. Converted t hem to #include <>, which only looks in system directories.