set the environment vars to:
export FREETYPE_CFLAGS=-I/usr/include/freetype2 export FREETYPE_CLIBS=/usr/lib/x86_64-linux-gnu/libfreetype.so
The first one needed during compilation, the second during linking.