Support dependency generation with some non-GCC compilers.

Also, if we don't support it with a given compiler, have "make depend"
not run mkdep, as it won't do anything useful.