Fix for Win/Mac compatibility

Now uses setup/dirs to import the DLL paths to the sandbox. Suggestion
courtesy @mflatt