fix bug #50, ubuntu14 build error