Trying to make tf-lib compatible with relative paths. Not so sure yet about the changes directly in the library files.