hard coding CXXFLAG with poll