Partial dep fixes

Minor fixes that I discovered by trying to run pims tests on my Mac, which happens to be missing libtiff. Up to you to merge, patch, or type in...whatever is easiest.