haiku: Fix libGL.so when LLVM present

* LLVM invokes -fno-rtti which breaks
  our C++ libGL.so
* Safest fix as it doesn't mess with anything
  else outside of Haiku.