Fix build under WindRiver and Windows C++11 toolchain