fix detection of mapnik-config