Fix building of examples