[perl #120670] make perl headers C++11 compatible