Fix for clashes with global names that also occur in static dependencies.
Prevent libssh from defaulting to shared linkage.
Updated project generator to output avconfig.h to the correct location.