This builds libtsm as separate library so we can use it in other projects, too. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>