Update src/CMakeLists.txt to avoid issue in installing static libraries in Windows