Replace $(PWD) by $(CURDIR)

PWD is not a make variable, it's a shell variable. Thus, unreliable.

Signed-off-by: Celelibi <celelibi@gmail.com>