Check for missing .d files

Review 1151 by @srh