c10t: fix freetype detection, libpng usage

Fixes #115.