c++11 linux compile conflicts with perl