fixed build on g++4.8