Fixes compile in c++11 mode

Fixed broken compile on linux after 3ded23fbab2d4183da3aa86cb5e4a46d2df543d8