remove -stdlib= flag on linux

which was causing problems:
unrecognized command line option -stdlib=libstdc++

and add -std=c++11 (C++11 standard) to align with OSX flags