This is not working well for us.
Hook for adding constructor
Added -std=c++11 to HAVE_CXX11 check