adds c++11 flag for linux