Make example depend on library