Don't hardcode header/library paths in setup.py

Use the pkg-config function in setup.py to get paths and library names
for the ti* libraries (and their dependencies, like glib) instead of
hardcoding them.