Use new proj4comp function.

Also remove deprecated loading of dem file.