reduce compile time by minimizing template instantiaions
Merge pull request #2466 from mapnik/reduce-compile-times

reduce compile time by minimizing template instantiations