nasty hack to convert dylib to bundle on mac