makefile: replace occurrences of ${...} with $(...)

They're equivalent, so let's be consistent. :)