Compile inflate.o with -O0 because with GCC4, higher optimization levels cause the functions to be reordered so the "inflate" entry point is no longer at the beginning.