remove -stdlib= flag on linux (fixes Issue #669)

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