introspection: don't fail in perl code on OSX