Makefile - bugfix could not start from another directory

Use CURDIR instead of PWD