Fix python detection in Makefile