--- a/Makefile.in
+++ b/Makefile.in
@@ -44,7 +44,7 @@
INSTALL_PROGRAM=install -m 755
INSTALL_DATA=install -m 644
-PWD?=$(shell pwd)
+PWD=$(CURDIR)
DESTDIR=
bindir=$(prefix)/bin
libdir=$(prefix)/lib