enforce c++11 at cgo