examples: detect default build directory