Tiny simplification in Makefile

Use `$(@D)` to refer to target's directory.