Revert "don't set -stdlib in CXXGLAGS"

This reverts commit 62c06eabcc18cfb8a63ee764ccbe4d86bb90eefc.