mklib: Update for Haiku support