mklib: Fix for Haiku properly