Fix for max type with no stdint