PWD is not guaranteed to be defined.  Switch to 'shell pwd' as per http://askubuntu.com/questions/232840/trouble-compiling-a-kernel-module-in-linux.
Merge pull request #5 from jtrutna/master

PWD is not guaranteed to be defined.