build to examples directories