Fix visibility of g_linked_ptr_mutex on Windows

Reverts some changes in b8ed00bd642971877e1dfda6e0815d7211a7ace2
Fix CMake MSVC64 setting

Workaround for CMake bug (http://www.cmake.org/Bug/view.php?id=13896)