fix the Makefile so it doesn't pollute sys.path

#4349 reviewed by Christian
2 files changed