I just reinstalled Ubuntu and it looks like I'm having some problems with some of the modules in 7.6. To get GTK to configure I added my own GTK_CONFIG=/usr/bin/gtk-config after the detection. To get freetype to compile I added my own FT_CONFIG="/usr/bin/freetype-config". How should this really be solved?