Updated CMakeLists.txt
Changed suffixes to use underscores, e.g. "_d"
Added suffix for static builds