Clean up Makefile.

Add a debug target, add -fPIC to CFLAGS for compiling as a shared library (this was actually causing a linking error for me), don't install the object files (there's no good reason to), and clean up some other fluff.