build and example directories