Don't build bundles on OSX (use -dynamiclib instead of -bundle)
Mark get_data as extern

Seems to be required on clang needs this to make this function
accessable to other TUs