Fix compile on older mapnik version. This should fix #49