Add -static-libgcc -static-libstdc++ to CMakeLists.txt
Check if platform is Linux and compiler is GNU, then set -static-libgcc -static-libstdc++
Remove the redundant STDLIB.
Merge pull request #240 from pradeepto/static-nupic-core

Add -static-libgcc -static-libstdc++ to CMakeLists.txt