added libs flag

-std=c++0x