--hide-internal option is available with valac > 0.24.0

valac 0.24.0 doesn't recognize this option