Set PWD in a unix fashion for distcheck

See comments in the makefile