edit Makefile to support python compilation