Add Cmake specific policy for Windows library linkage