Removing unneeded files.
Removed shared object linking; made it compile on OSX