Now it is compilable with g++