makefile: use $(var:pattern=replacement) shorthand