use python-config --prefix

use python-config --prefix instead of hard coding the paths