Fix build on *BSD. Fix PLIST issue by always building in imdiag.