Used different scripts to find dependencies, hopefully works on the other platforms