there are these line in the makefile

```
CFLAGS= -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DSCALCE_VERSION=\"2.7\" $(DF) -I zlib-1.2.8
LDFLAGS=  -lm  -lbz2 zlib-1.2.8/libz.a -lpthread #-lprofile-ltcmalloc
```

I tought this was easier than applying a patch