Fix a couple small things in dependencies script