Adjust plugin dir to something a bit more sensible
Disable library versioning and add -shared while at it