enabled static linkage of libstdc++ and libgcc for apps to ensure portability of executables
Merge pull request #266 from weese/hotfix/static-linkage

Enabled static linkage of libstdc++ and libgcc for apps (master, apply after develop)