Fixed the vs generator linker dependencies.

I might be crazy, but the VS generator seemed to build a set of
linker dependencies and then just throw them away, making it
impossible to build generated projects.

Feel free to ignore this pull request if it is invalid.

--
Commit message:

The vs generator seemed to build a set of linker dependencies
but never added them to the 'Additional Dependencies' property.
This caused the generator to generate VS projects without
linker dependencies.

Removed the dependencies variable and added directly to the libs
variable since it isn't used for anything else anyway.