Make this work with bsd make as well

Avoid using gnu make specific rules. While here sort entries and add
missing dep for varnishd.