Fix makefile problem about link python library on linux and remove unusable variable