removed define for u_char since it breaks some builds