resolve problems with convert.h on new gcc