Update VS projects so cli always requires static linkage.

This reduces the number of unnecessary exports required in the dll.