Update LinkSharedDependencies.cmake

Fixed the not being able to build with cmake this caused issues on windows.