[1.5] Change the logic in byte_manager.h. Prefer the use of stdint.h when available...