Fix mac build

We also want to build with no-rtti there.

Change-Id: If680760904866e5c95d1ed85fffecfea67dde7d0
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>