ensure has_prefix is using MacOSX shared object files