Fixed dylib handling on mac so model isn't copied anymore