Add ptam library
Build ptam with tup