haiku: Add versioning to shared libraries