export CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include"

./configure --prefix="${PREFIX}"
make -j"${CPU_COUNT}"
make install

export CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include"

ZLIB_ROOT=$PREFIX
./configure --prefix="${PREFIX}"
make -j"${CPU_COUNT}"
make install

Add ZLIB_ROOT to fix ZLIB_ROOT error on Linux
Add ZLIB_ROOT to fix ZLIB_ROOT error on Linux