optimization for node v0.10+
add c++11 argument for g++