mapnik: freetype & png are required so configure them properly

Closes #24006.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>