makefile changes for pydriver