Modified library to compile for .so files

Signed-off-by: Christian Gunderman <christian@sonofboss.cwru.edu>