add endian.h header for htobeXX functions
get rid of #line directive in each source file, hoping compiler will still be able to know what file it's in