[untracked] updated rundemo.sh script
ref #1068 [updated configure script to check for -stdlib=libstdc++ flag]
ref #1068 [updated configure script for proper libraries checks]